package com.cxy.service.impl;

import com.cxy.dao.StaffDao;
import com.cxy.pojo.Staff;
import com.cxy.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 蔡心勇
 * @create 2022/3/15 - 17:09
 */
@Service
public class StaffServiceImpl implements StaffService {
    @Autowired
    private StaffDao staffDao;
    @Override
    public int addStaff(Staff staff) {
        return staffDao.addStaff(staff);
    }
}
